package com.dries.portal.module.convener.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dries.portal.module.convener.dto.ConvenerCreateParams;
import com.dries.portal.module.convener.entity.Convener;
import com.dries.portal.module.convener.vo.ConvenerVo;
import com.dries.portal.module.xxshop.vo.UserOrderInfoVo;
import com.github.pagehelper.PageInfo;

/**
 * 
 *
 * @author dries
 * @email samphsanie@gmail.com
 * @date 2020-08-20 15:19:56
 */
public interface IConvenerService extends IService<Convener> {



    Convener queryConvener (Integer cid);


    void senDelay();

    /**
     *  发送召集信息
     */
    Convener createConvener(String name, ConvenerCreateParams createParams);

    UserOrderInfoVo startConvener(String name, Integer convenerId);

    PageInfo<ConvenerVo> getJoinConvener(String userId, Integer pageNum, Integer pageSize);

    ConvenerVo getConvenerInfoByOrderId(Long orderId);
}

